package org.vshe.improve.spring.prospring3.ch7.aspectjannotation;

import org.springframework.context.support.GenericXmlApplicationContext;

public class AspectJAnnotationsTest {
	public static void main(String args[]) {
		GenericXmlApplicationContext context = new GenericXmlApplicationContext();
		context.load("classpath:ch7/aspectjannotation/context.xml");
		context.refresh();
		
		MyBean bean1 = (MyBean) context.getBean("myBean");
		bean1.execute();
		
	}
}
